package com.ftg.learn.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftg.learn.system.entity.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 描述
 *
 * @author 布衣
 * @date 2025/6/3
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity> {

    @Select("select * from sys_user where username= #{username}")
    SysUserEntity getOneUserByName(@Param("username") String username);

}
